﻿<%@ Page Title="登录" Language="C#" MasterPageFile="~/Wap/Shop/ShopSite.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ZLCMS.Web.Wap.Member.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="/wap/lib/validator-0.7.0/css/jquery.validator.css" />
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/jquery.validator.js"></script>
    <script type="text/javascript" src="/wap/lib/validator-0.7.0/local/zh_CN.js"></script>
    <script src="../lib/jquery/jquery.cookie.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="pages" runat="server">
<div data-role="page" id="mypage">
	<div data-role="header">
    </div><!-- /header -->
    
 	<div role="main" class="ui-content">
      <div id="login">
        <form id="Form1" method="post" command="Member.LoginSimple" action="" data-ajax="false">
            	<div class="loginLIST">
                	<div class="left"><img src="/wap/shop/images/icon_phone.png"></div>
                    <div class="right"><input type="text" name="code" placeholder="手机/邮箱/帐号" command-param='Code' data-rule="required"/></div>
                </div>
                <div class="loginLIST">
                	<div class="left"><img src="/wap/shop/images/icon_password.png"></div>
                    <div class="right"><input type="password" placeholder="密码" command-param='Password' data-rule="密码: required;"/></div>
                </div>
                <div class="button">
                    <a href="javascript:void(0);" id="tb_commit" data-role="button" data-shadow="false" data-theme="o" onclick="executeFormCommonCommand('Form1', loginOk)">登 录</a>           	
                </div>

                <div class="text">
                    <a href="Signup.aspx?goto=<%=Server.UrlEncode(Request["goto"]) %>" data-ajax="false">还没账号？</a>
                	<a href="ResetPassword.aspx?goto=<%=Server.UrlEncode(Request["goto"]) %>" data-ajax="false">忘记密码？</a>     
                </div>

                <div class="otherlogin">
                    <div class="title"><div class="uname">其他方式登录</div></div>
                    <ul>
                        <li><a href="LoginWeixin.aspx?goto=<%=Server.UrlEncode(Request["goto"]) %>" data-ajax="false"><img src="/wap/shop/images/login_wx.png" /><p>微信</p></a></li>
                        <li><a href="#"><img src="/wap/shop/images/login_qq.png" /><p>QQ</p></a></li>
                        <li><a href="#"><img src="/wap/shop/images/login_wb.png" /><p>微博</p></a></li>
                    </ul>
                </div>
            </form> 
      </div>
	</div><!-- /content -->

    <div data-role="footer" class="footer" data-position="fixed">          
    </div>
    <!--footer end-->
</div><!-- /page -->

 <script type="text/javascript">
 function loginOk(result) { 
    showTips("登录成功！", 500, function () {
        location.href = 'LoginSuccess.aspx?token=' + result.Token + '&goto=<%= Server.UrlEncode(Request["goto"]) %>';
    });
 }

 </script>



</asp:Content>


